/**
 * Created by Administrator on 2017/3/21.
 */
module.exports = {
    state: {
        id: `123`,
        loginId: ``,
        name: ``,
        email: ``,
        ecode: ``
    },
    mutations: {
        setUser(id, loginId, name, email, ecode){
                //变更状态
                this.state.id = id,
                this.state.loginId = loginId,
                this.state.name = name,
                this.state.email = email,
                this.state.ecode = ecode
        }
    }
}
